# $Id: PKGBUILD 79323 2012-11-02 19:13:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-tree-dag-node
pkgver=1.07
pkgrel=1
pkgdesc="base class for trees"
arch=('any')
url="http://search.cpan.org/dist/Tree-DAG_Node"
license=('GPL' 'PerlArtistic')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Tree-DAG_Node-$pkgver.tgz)
md5sums=('1d12c1cb72a71edfdaab1b08a8f2e354')

build() {
  cd  $srcdir/Tree-DAG_Node-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
